home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
Script Tools
/
Examples
/
Choose Several Files Example
< prev
next >
Wrap
Text File
|
1993-06-17
|
418b
|
18 lines
property fileList : {}
set filesOK to true
try
set fileList to ¬
choose several files with prompt "Please select files to be archived:" ¬
of type {"APPL", "TEXT", "PICT"} ¬
starting with fileList
on error errText number errNum
display dialog "Choose several files canceled (error: " & errText & ")" ¬
buttons {"OK"} ¬
default button {"OK"}
set filesOK to false
end try
if filesOK then
fileList
end if